package com.zm.demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages ={"com.zm.demo.controller"} )
@EnableDiscoveryClient
@EnableFeignClients("com.zm.demo.service")
public class ApplicationConsumerFeign {
    public static void main(String[] args) {
        SpringApplication.run(ApplicationConsumerFeign.class,args);
    }
}
